package com.mv.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mv.pojo.Consume;
import org.apache.ibatis.annotations.Select;

public interface ConsumeMapper extends BaseMapper<Consume> {

    Integer getMovieNum(Integer id);
    @Select("select sum(num) from consume")
    Integer getNumSum();
}
